package com.wlld.config;

import com.wlld.nerveCenter.NerveManager;

/**
 * @param
 * @DATA
 * @Author LiDaPeng
 * @Description 模版配置文件
 */
public class Config {
    private int kernLen = 5;//核大小
    private int step = 2;//步长
    private double convStudyPoint = 0.01;//卷积层学习率0.01
    private double allLineStudyPoint = 0.01;//全链接层学习率0.01
    private int allHiddenNub = 3;//全链接层隐层神经元个数
    private int classificationNub = 2;//分类数量
    private double lParam = 0.0;//正则系数0.001
    private boolean isSoftMax = false;//是否使用softMax
    private double th = 0.8;//概率阈值
    private int boxSize = 125;//格子尺寸
    private int height = 400;//图片高度400
    private int lineDeep = 1;//分类器深度1

    public int getLineDeep() {
        return lineDeep;
    }

    public void setLineDeep(int lineDeep) {
        this.lineDeep = lineDeep;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    private NerveManager convolutionNerveManagerR;
    private NerveManager convolutionNerveManagerG;
    private NerveManager convolutionNerveManagerB;
    private NerveManager foodNerveManger;//分类拟合


    public boolean isSoftMax() {
        return isSoftMax;
    }

    public double getTh() {
        return th;
    }

    public void setTh(double th) {
        this.th = th;
    }

    public void setSoftMax(boolean softMax) {
        isSoftMax = softMax;
    }

    public NerveManager getConvolutionNerveManagerR() {
        return convolutionNerveManagerR;
    }

    public void setConvolutionNerveManagerR(NerveManager convolutionNerveManagerR) {
        this.convolutionNerveManagerR = convolutionNerveManagerR;
    }

    public NerveManager getConvolutionNerveManagerG() {
        return convolutionNerveManagerG;
    }

    public void setConvolutionNerveManagerG(NerveManager convolutionNerveManagerG) {
        this.convolutionNerveManagerG = convolutionNerveManagerG;
    }

    public NerveManager getConvolutionNerveManagerB() {
        return convolutionNerveManagerB;
    }

    public void setConvolutionNerveManagerB(NerveManager convolutionNerveManagerB) {
        this.convolutionNerveManagerB = convolutionNerveManagerB;
    }

    public NerveManager getFoodNerveManger() {
        return foodNerveManger;
    }

    public void setFoodNerveManger(NerveManager foodNerveManger) {
        this.foodNerveManger = foodNerveManger;
    }

    public double getlParam() {
        return lParam;
    }

    public void setlParam(double lParam) {
        this.lParam = lParam;
    }


    public int getClassificationNub() {
        return classificationNub;
    }

    public void setClassificationNub(int classificationNub) {
        this.classificationNub = classificationNub;
    }

    public int getAllHiddenNub() {
        return allHiddenNub;
    }

    public void setAllHiddenNub(int allHiddenNub) {
        this.allHiddenNub = allHiddenNub;
    }

    public double getAllLineStudyPoint() {
        return allLineStudyPoint;
    }

    public void setAllLineStudyPoint(double allLineStudyPoint) {
        this.allLineStudyPoint = allLineStudyPoint;
    }

    public double getConvStudyPoint() {
        return convStudyPoint;
    }

    public void setConvStudyPoint(double convStudyPoint) {
        this.convStudyPoint = convStudyPoint;
    }

    public int getKernLen() {
        return kernLen;
    }

    public void setKernLen(int kernLen) {
        this.kernLen = kernLen;
    }

    public int getStep() {
        return step;
    }

    public void setStep(int step) {
        this.step = step;
    }

    public int getBoxSize() {
        return boxSize;
    }

    public void setBoxSize(int boxSize) {
        this.boxSize = boxSize;
    }
}
